package day1.first_know_thread;

import java.util.concurrent.TimeUnit;

public class Show_sleep {
    public static void main(String[] args) throws InterruptedException {
        int i = 1;
        while (true) {
            System.out.println(i++);
            TimeUnit.SECONDS.sleep(1);
        }
    }
}
